<div class="pad-10">

	<div class="navigate">
		<h1>管理员添加</h1>

        <span class="ui-button ui-button-morange fr">
            <a class="ui-button-text fr" href="/index.php/Admin/Admin/">管理员列表</a>
        </span>

  	</div>
  	
<div class="col-tab">
<ul class="tabBut cu-li">
	<li id="tab_setting_1" class="on"
		onclick="SwapTab('setting','on','',2,1);">管理员添加</li>
</ul>
<div id="div_setting_1" class="contentList pad-10">
<table width="100%" cellpadding="2" cellspacing="1" class="table_form">
	<tr>
		<th width="100">用户名:</th>
		<td><input type="text" name="name" id="name" class="input-text" value="">
			<span class="color-red" title="必填">*</span>
		</td>
	</tr>
	<tr>
		<th>密 码：</th>
		<td>
			<input type="password" name="passwd" id="passwd" class="input-text" value="">
			<span class="color-red" title="必填">*</span>
		</td>
	</tr>
	<tr>
		<th>确认密码：</th>
		<td>
			<input type="password" name="repasswd" id="repasswd" class="input-text" value="">
			<span class="color-red" title="必填">*</span>
		</td>
	</tr>
	<tr>
		<th width="100">邮箱 :</th>
		<td>
			<input type="text" name="email" id="email" class="input-text" />
			<span class="color-red" title="必填">*</span>
		</td>
	</tr>
	<tr>
		<th width="100">真实姓名 :</th>
		<td>
			<input type="text" name="real_name" id="real_name" class="input-text" />
			<span class="color-red" title="必填">*</span>
		</td>
	</tr>
	<tr>
		<th width="100">手机:</th>
		<td>
			<input type="text" name="mobile_phone" id="mobile_phone" class="input-text" />
			<span class="color-red" title="必填">*</span>
		</td>
	</tr>
	<tr>
		<th width="100">备注:</th>
		<td>
			<textarea id="remark" name="remark" cols="50" rows="3"></textarea>
		</td>
	</tr>
	<tr>
		<th width="100">状态:</th>
		<td>
			<input type="radio" id="disabled_0" name="disabled" value="0" checked /> 
			<label for="disabled_0">启用</label> 
			
			
			<input type="radio" id="disabled_1"	name="disabled" value="1" /> 
			<label for="disabled_1">禁用</label>
				
		</td>
	</tr>
	
	
	<tr>
		<th width="100">分组:</th>
		<td>
			<select name="group_id" id="group_id" style="width:300px;">
				<volist name="groups" id="g">
				<option value="{$g.group_id}" group_roles="{$g.group_roles}">{$g.group_name}</option>
				</volist>
          	</select>				
		</td>
	</tr>
	

          	
	<tr>
		<th width="100">权限:</th>
		<td>
		
			    <input type="checkbox" id="check_all" />
			    <label for="check_all">全选</label>
			
				<ul>
					<volist name="roles" id="r">

                    <include file="Admin:roles" />
					
					<li>
						<input type="checkbox" name="roles" id="roles_{$r.id}" value="{$r.role_value}" />
						<label for="roles_{$r.id}">[{$r.id}] - {$r.role_name}</label>
					</li>
					</volist>
				</ul>
				
		</td>
	</tr>
</table>
</div>

<div class="bk15"></div>
<div class="btn"><input type="button" class="button" value="添加" id="btnAdd" /></div>
</div>
</div>

<script type="text/javascript" src="/Js/adm/admin/add.js"></script>